package com.zzw.zim.system.dao;

import com.zzw.zim.system.dto.AddRoleMenuDTO;
import com.zzw.zim.system.entitys.SysRoleMenuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色菜单关系
 *
 * @author XiaoJie
 * @email
 * @date 2025-05-13 09:43:18
 */
@Mapper
public interface SysRoleMenuDao extends BaseMapper<SysRoleMenuEntity> {

    /**
     * 新增角色菜单
     * @param list    菜单IDs
     * @param roleId  角色ID
     * @param creator 用户
     * @return ""
     */
    long insertBatch(@Param("list") List<String> list, @Param("roleId") String roleId,@Param("creator") String creator);
}
